#include "utils/apputils.h"
#include "um/updatemanager.h"

#include <QApplication>

using namespace yoohoo_utils;
using namespace yoohoo_um;

int main(int argc, char *argv[]) {
	QApplication app(argc, argv);
	app.setQuitOnLastWindowClosed(false);

	QDir appDir = AppUtils::appDir();
	qDebug("Application path: %s", qPrintable(appDir.path()));

	UpdateManager updateManager(appDir);
	updateManager.run();

    int result = app.exec();

    return result;
}
